import http from '../util/http.js'

export const GetAllJournal = (params) => http.get('/journal/getAllJournal',params);
export const GetJournalAgg = (params) => http.get('/journal/getJournalAgg',params);
export const UpdateJournal = (params) => http.postJSON('/journal/updateJournal',params);
export const OperationJournal = (params) => http.get('/journal/operationJournal',params);
export const GetEntityJournal = (id) => http.get('/journal/getEntityJournal',{id:id});
export const GetEntityArticle = (id) => http.get('/reserveArticle/getEntityArticle',{articleId:id});
export const GetAllArticle = (params) => http.get('/reserveArticle/getAllArticle',params);
export const UpdateSelectStatus = (params) => http.postJSON('/reserveArticle/updateSelectStatus',params);
export const CancelReserve = (params) => http.get('/reserveArticle/cancelReserve',params);
export const CheckArticleStatus = (params) => http.postJSON('/reserveArticle/checkArticleStatus',params);
export const GetCheckComments = (params) => http.get('/reserveArticle/getCheckComments',params);
export const UploadArticle = (params) => http.uploadArticle('/reserveArticle/uploadArticle',params);
export const GetArticleAgg = (params) => http.get('/reserveArticle/getArticleAgg',params);



